<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- examples.qdoc -->
  <title>XML Examples | Qt 5.14</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.14</a></td><td >XML Examples</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.14.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">XML Examples</h1>
<span class="subtitle"></span>
<!-- $$$examples-xml.html-description -->
<div class="descr"> <a name="details"></a>
<p>XML parsing and handling is supported through SAX and DOM compliant APIs as well as streaming classes.</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtxml/qtxml-dombookmarks-example.html">DOM Bookmarks Example</a></p></td><td class="tblDescr"><p>Provides a reader for XML Bookmark Exchange Language files</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="../qtxml/qtxml-streambookmarks-example.html">QXmlStream Bookmarks Example</a></p></td><td class="tblDescr"><p>Demonstrates how to read and write to XBEL files</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtxml/qtxml-saxbookmarks-example.html">SAX Bookmarks Example</a></p></td><td class="tblDescr"><p>Demonstrates how to read XBEL files</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="../qtxml/qtxml-xmlstreamlint-example.html">XML Stream Lint Example</a></p></td><td class="tblDescr"><p>A commandline tool reading from an input file and writing to the standard output file</p></td></tr>
</table></div>
<p class="centerAlign"><img src="images/xml-examples.png" alt="XML" /></p><p>The <a href="../qtxmlpatterns/xmlprocessing.html">XQuery</a>/XPath and XML Schema engines in the <a href="../qtxmlpatterns/qtxmlpatterns-index.html">Qt XML Patterns</a> module provide classes for querying XML files and custom data models.</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtxmlpatterns/qtxmlpatterns-xquery-example.html">C++ Source Code Analyzer Example</a></p></td><td class="tblDescr"><p>Using XQuery and the xmlpatterns command line utility to query C++ source code</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="../qtxmlpatterns/qtxmlpatterns-filetree-example.html">File System Example</a></p></td><td class="tblDescr"><p>Using Qt XML Patterns for querying non-XML data that is modeled to look like XML</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtxmlpatterns/qtxmlpatterns-filetree-example.html">File System Example</a></p></td><td class="tblDescr"><p>Using Qt XML Patterns for querying non-XML data that is modeled to look like XML</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="../qtxmlpatterns/qtxmlpatterns-recipes-example.html">Recipes Example</a></p></td><td class="tblDescr"><p>Using Qt XML Patterns to query XML data loaded from a file</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="../qtxmlpatterns/qtxmlpatterns-schema-example.html">XML Schema Validation Example</a></p></td><td class="tblDescr"><p>Using Qt XML Patterns to validate XML with a W3C XML Schema</p></td></tr>
</table></div>
<p>Examples marked with an asterisk (*) are fully documented.</p>
</div>
<!-- @@@examples-xml.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
